package com.qys.livesMall.shop.modal.vo.task;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class SellTaskVo {

    @Schema(description = "带货任务编号")
    private Long id;

    @Schema(description = "店铺编号")
    private Long shopBaseId;

    @Schema(description = "任务名称（不超过36字符）")
    private String taskName;

    @Schema(description = "任务目标（不超过128字符）")
    private String taskGoal;

    @Schema(description = "任务描述（不超过128字符）")
    private String taskInfo;

    @Schema(description = "任务收益（平台结算）")
    private String taskBenefitType;

    @Schema(description = "带货商品名集合（用 ; 隔开）")
    private String taskProductName;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+0")
    private LocalDateTime updateTime;
}
